package com.cj.dao;


import com.cj.po.Dormclean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DormcleanDao {
    //获取总条数
    public Integer totalCount(@Param("d_id") Integer d_id,@Param("d_dormbuilding")String d_dormbuilding);
    //获取用户列表
    public List<Dormclean> getDormcleanList(@Param("d_id") Integer d_id,@Param("d_dormbuilding")String d_dormbuilding,
                                           @Param("currentPage")Integer currentPage, @Param("pageSize")Integer pageSize);


    int updateDormclean(Dormclean dormclean);

    int deleteDormclean(Integer d_id);

    int addDormclean(Dormclean dormclean);

    Dormclean findDormCleanById(Integer d_id);

    List<Dormclean> getAll();
}
